package org.fude.entity;

import java.util.Date;

public class Achievement {

	private int id;
	
	private int oyear;
	
	private int omonth;
	
	private Date odate;
	
	private int money;
	
	private User user;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	

	public int getOyear() {
		return oyear;
	}

	public void setOyear(int oyear) {
		this.oyear = oyear;
	}

	
	
	
	public int getOmonth() {
		return omonth;
	}

	public void setOmonth(int omonth) {
		this.omonth = omonth;
	}

	public Date getOdate() {
		return odate;
	}

	public void setOdate(Date odate) {
		this.odate = odate;
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public String toString() {
		return "Achievement [id=" + id + ", oyear=" + oyear + ", omonth=" + omonth + ", odate=" + odate + ", money="
				+ money + ", user=" + user + "]";
	}

	

	

	
}
